一、概述

该文件备份本地git 配置信息

二、设置过程

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[user]
email = xx@xx.com
name = xx
[color]
ui = true
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
changes = diff --name-status -r
diffstat = diff --stat -r
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
pwhatis = show -s --pretty='tformat:%h, %s, %ad' --date=short
ci = commit
co = checkout
st = status
br = branch
df = diff
cp = cherry-pick
[push]
default = simple
[core]
editor = vim
[merge]
tool = vimdiff
[diff]
tool = vimdiff
[mergetool]
prompt = false
[difftool]
prompt = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[https]
proxy = http://127.0.0.1:6666
[http]
proxy = http://127.0.0.1:6666

【完毕】

2024-01-29